package com.azt.service.wechat;

import com.alibaba.fastjson.JSONObject;
import com.azt.model.WeChatUserInfo;

/**
 * 微信服务
 * Created by LiQZ on 2017/3/30.
 */
public interface WeChatService {

    /**
     * 用 code 获取用户信息
     */
    WeChatUserInfo getUserInfo(String code);
    
    JSONObject getAccessToken(String appId,String secret,String code);

}
